﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        //1.定义一个图书馆里系统里面的用户类；
        //2.在用户类中定义一个方法输出当前用户对象的信息；然后在主方法调用输出；
        static void Main(string[] args)
        {
            User u = new User();
            u.Name = "梅超风";
            u.Id = 654631;
            u.Sex = '女';
            u.Address = "北京朝阳区";
            u.BookName = "星期五";
            u.Info();
            book b = new book();
            b.BookName = "星期五";
            b.Id = 1426321;
            b.Name = "鲁宾孙";
            b.Press = "工业出版社";
            b.book1();
            press p = new press();
            p.Name = "工业出版社";
            p.press1();
        }
    }
}
